3.4.5 \(\int \frac {x^2 (a+b \log (c x^n))}{(d+e x^2)^{5/2}} \, dx\) [305]

Optimal. Leaf size=89 \[ \frac {b n x}{3 d e \sqrt {d+e x^2}}-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d e^{3/2}}+\frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}} \]

[Out]

-1/3*b*n*arctanh(x*e^(1/2)/(e*x^2+d)^(1/2))/d/e^(3/2)+1/3*x^3*(a+b*ln(c*x^n))/d/(e*x^2+d)^(3/2)+1/3*b*n*x/d/e/
(e*x^2+d)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.160, Rules used = {2373, 294, 223, 212} \begin {gather*} \frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}}-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d e^{3/2}}+\frac {b n x}{3 d e \sqrt {d+e x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^2*(a + b*Log[c*x^n]))/(d + e*x^2)^(5/2),x]

[Out]

(b*n*x)/(3*d*e*Sqrt[d + e*x^2]) - (b*n*ArcTanh[(Sqrt[e]*x)/Sqrt[d + e*x^2]])/(3*d*e^(3/2)) + (x^3*(a + b*Log[c
*x^n]))/(3*d*(d + e*x^2)^(3/2))

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 294

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^
n)^(p + 1)/(b*n*(p + 1))), x] - Dist[c^n*((m - n + 1)/(b*n*(p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^(p + 1), x
], x] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m + 1, n] &&  !ILtQ[(m + n*(p + 1) + 1)/n, 0]
&& IntBinomialQ[a, b, c, n, m, p, x]

Rule 2373

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^(r_.))^(q_), x_Symbol] :> Simp
[(f*x)^(m + 1)*(d + e*x^r)^(q + 1)*((a + b*Log[c*x^n])/(d*f*(m + 1))), x] - Dist[b*(n/(d*(m + 1))), Int[(f*x)^
m*(d + e*x^r)^(q + 1), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, q, r}, x] && EqQ[m + r*(q + 1) + 1, 0] && NeQ[
m, -1]

Rubi steps

\begin {align*} \int \frac {x^2 \left (a+b \log \left (c x^n\right )\right )}{\left (d+e x^2\right )^{5/2}} \, dx &=\frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}}-\frac {(b n) \int \frac {x^2}{\left (d+e x^2\right )^{3/2}} \, dx}{3 d}\\ &=\frac {b n x}{3 d e \sqrt {d+e x^2}}+\frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}}-\frac {(b n) \int \frac {1}{\sqrt {d+e x^2}} \, dx}{3 d e}\\ &=\frac {b n x}{3 d e \sqrt {d+e x^2}}+\frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}}-\frac {(b n) \text {Subst}\left (\int \frac {1}{1-e x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{3 d e}\\ &=\frac {b n x}{3 d e \sqrt {d+e x^2}}-\frac {b n \tanh ^{-1}\left (\frac {\sqrt {e} x}{\sqrt {d+e x^2}}\right )}{3 d e^{3/2}}+\frac {x^3 \left (a+b \log \left (c x^n\right )\right )}{3 d \left (d+e x^2\right )^{3/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 101, normalized size = 1.13 \begin {gather*} \frac {\sqrt {e} x \left (a e x^2+b n \left (d+e x^2\right )\right )+b e^{3/2} x^3 \log \left (c x^n\right )-b n \left (d+e x^2\right )^{3/2} \log \left (e x+\sqrt {e} \sqrt {d+e x^2}\right )}{3 d e^{3/2} \left (d+e x^2\right )^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^2*(a + b*Log[c*x^n]))/(d + e*x^2)^(5/2),x]

[Out]

(Sqrt[e]*x*(a*e*x^2 + b*n*(d + e*x^2)) + b*e^(3/2)*x^3*Log[c*x^n] - b*n*(d + e*x^2)^(3/2)*Log[e*x + Sqrt[e]*Sq
rt[d + e*x^2]])/(3*d*e^(3/2)*(d + e*x^2)^(3/2))

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {x^{2} \left (a +b \ln \left (c \,x^{n}\right )\right )}{\left (e \,x^{2}+d \right )^{\frac {5}{2}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*(a+b*ln(c*x^n))/(e*x^2+d)^(5/2),x)

[Out]

int(x^2*(a+b*ln(c*x^n))/(e*x^2+d)^(5/2),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))/(e*x^2+d)^(5/2),x, algorithm="maxima")

[Out]

-1/3*a*(x*e^(-1)/(x^2*e + d)^(3/2) - x*e^(-1)/(sqrt(x^2*e + d)*d)) + b*integrate((x^2*log(c) + x^2*log(x^n))/(
(x^4*e^2 + 2*d*x^2*e + d^2)*sqrt(x^2*e + d)), x)

________________________________________________________________________________________

Fricas [A]
time = 0.40, size = 134, normalized size = 1.51 \begin {gather*} \frac {{\left (b n x^{4} e^{2} + 2 \, b d n x^{2} e + b d^{2} n\right )} e^{\frac {1}{2}} \log \left (-2 \, x^{2} e + 2 \, \sqrt {x^{2} e + d} x e^{\frac {1}{2}} - d\right ) + 2 \, {\left (b n x^{3} e^{2} \log \left (x\right ) + b x^{3} e^{2} \log \left (c\right ) + {\left (b n + a\right )} x^{3} e^{2} + b d n x e\right )} \sqrt {x^{2} e + d}}{6 \, {\left (d x^{4} e^{4} + 2 \, d^{2} x^{2} e^{3} + d^{3} e^{2}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))/(e*x^2+d)^(5/2),x, algorithm="fricas")

[Out]

1/6*((b*n*x^4*e^2 + 2*b*d*n*x^2*e + b*d^2*n)*e^(1/2)*log(-2*x^2*e + 2*sqrt(x^2*e + d)*x*e^(1/2) - d) + 2*(b*n*
x^3*e^2*log(x) + b*x^3*e^2*log(c) + (b*n + a)*x^3*e^2 + b*d*n*x*e)*sqrt(x^2*e + d))/(d*x^4*e^4 + 2*d^2*x^2*e^3
 + d^3*e^2)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2} \left (a + b \log {\left (c x^{n} \right )}\right )}{\left (d + e x^{2}\right )^{\frac {5}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*(a+b*ln(c*x**n))/(e*x**2+d)**(5/2),x)

[Out]

Integral(x**2*(a + b*log(c*x**n))/(d + e*x**2)**(5/2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*(a+b*log(c*x^n))/(e*x^2+d)^(5/2),x, algorithm="giac")

[Out]

integrate((b*log(c*x^n) + a)*x^2/(x^2*e + d)^(5/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2\,\left (a+b\,\ln \left (c\,x^n\right )\right )}{{\left (e\,x^2+d\right )}^{5/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^2*(a + b*log(c*x^n)))/(d + e*x^2)^(5/2),x)

[Out]

int((x^2*(a + b*log(c*x^n)))/(d + e*x^2)^(5/2), x)

________________________________________________________________________________________